The Patna high court on Friday granted bail to controversial Rashtriya Janata Dal member of Parliament Mohammed Shahabuddin in a violation of the Arms Act case.